<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>MetadataReader (Metadata-Extractor - JavaDoc - An Open Source Java Library for Image File Metadata)</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="MetadataReader (Metadata-Extractor - JavaDoc - An Open Source Java Library for Image File Metadata)";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/MetadataReader.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><em><a href='http://www.drewnoakes.com/code/exif/' title='Go to the project home page.'><img src='http://metadata-extractor.googlecode.com/git/Resources/metadata-extractor-logo-131x30.png' border=0 alt='Metadata Extractor Logo'></a></em></div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/drew/metadata/MetadataException.html" title="class in com.drew.metadata"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/drew/metadata/Tag.html" title="class in com.drew.metadata"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/drew/metadata/MetadataReader.html" target="_top">Frames</a></li>
<li><a href="MetadataReader.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.drew.metadata</div>
<h2 title="Interface MetadataReader" class="title">Interface MetadataReader</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><a href="../../../com/drew/metadata/adobe/AdobeJpegReader.html" title="class in com.drew.metadata.adobe">AdobeJpegReader</a>, <a href="../../../com/drew/metadata/exif/ExifReader.html" title="class in com.drew.metadata.exif">ExifReader</a>, <a href="../../../com/drew/metadata/icc/IccReader.html" title="class in com.drew.metadata.icc">IccReader</a>, <a href="../../../com/drew/metadata/iptc/IptcReader.html" title="class in com.drew.metadata.iptc">IptcReader</a>, <a href="../../../com/drew/metadata/jfif/JfifReader.html" title="class in com.drew.metadata.jfif">JfifReader</a>, <a href="../../../com/drew/metadata/jpeg/JpegCommentReader.html" title="class in com.drew.metadata.jpeg">JpegCommentReader</a>, <a href="../../../com/drew/metadata/jpeg/JpegReader.html" title="class in com.drew.metadata.jpeg">JpegReader</a>, <a href="../../../com/drew/metadata/photoshop/PhotoshopReader.html" title="class in com.drew.metadata.photoshop">PhotoshopReader</a>, <a href="../../../com/drew/metadata/photoshop/PsdReader.html" title="class in com.drew.metadata.photoshop">PsdReader</a>, <a href="../../../com/drew/metadata/xmp/XmpReader.html" title="class in com.drew.metadata.xmp">XmpReader</a></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="strong">MetadataReader</span></pre>
<div class="block">Interface through which all classes responsible for decoding a particular type of metadata may be called.
 Note that the data source is not specified on this interface.  Instead it is suggested that implementations
 take their data within a constructor.  Constructors might be overloaded to allow for different sources, such as
 files, streams and byte arrays.  As such, instances of implementations of this interface would be single-use and
 not thread-safe.</div>
<dl><dt><span class="strong">Author:</span></dt>
  <dd>Drew Noakes http://drewnoakes.com</dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/drew/metadata/MetadataReader.html#extract(com.drew.lang.BufferReader, com.drew.metadata.Metadata)">extract</a></strong>(<a href="../../../com/drew/lang/BufferReader.html" title="interface in com.drew.lang">BufferReader</a>&nbsp;reader,
       <a href="../../../com/drew/metadata/Metadata.html" title="class in com.drew.metadata">Metadata</a>&nbsp;metadata)</code>
<div class="block">Extract metadata from the source and merge it into an existing Metadata object.</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="extract(com.drew.lang.BufferReader, com.drew.metadata.Metadata)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>extract</h4>
<pre>void&nbsp;extract(<a href="../../../com/drew/lang/BufferReader.html" title="interface in com.drew.lang">BufferReader</a>&nbsp;reader,
           <a href="../../../com/drew/metadata/Metadata.html" title="class in com.drew.metadata">Metadata</a>&nbsp;metadata)</pre>
<div class="block">Extract metadata from the source and merge it into an existing Metadata object.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>reader</code> - The reader from which the metadata should be extracted.</dd><dd><code>metadata</code> - The Metadata object into which extracted values should be merged.</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/MetadataReader.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><em><a href='http://www.drewnoakes.com/code/exif/' title='Go to the project home page.'><img src='http://metadata-extractor.googlecode.com/git/Resources/metadata-extractor-logo-131x30.png' border=0 alt='Metadata Extractor Logo'></a></em></div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/drew/metadata/MetadataException.html" title="class in com.drew.metadata"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/drew/metadata/Tag.html" title="class in com.drew.metadata"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/drew/metadata/MetadataReader.html" target="_top">Frames</a></li>
<li><a href="MetadataReader.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><i>Copyright &#169; 2003-2012 Drew Noakes. All Rights Reserved.</i>
<script src='http://www.google-analytics.com/urchin.js' type='text/javascript'></script>
<script type='text/javascript'>
_uacct = 'UA-936661-1';
urchinTracker();
</script></small></p>
</body>
</html>
